package com.ruoyi.yuan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 星球信息对象 yuan_star
 * 
 * @author guifeng
 * @date 2022-08-24
 */
public class Star extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 星球ID */
    @Excel(name = "星球ID")
    private Long starId;

    /** 星球名 */
    @Excel(name = "星球名")
    private String starName;

    /** 星系ID */
    @Excel(name = "星系ID")
    private Long galaxyId;

    /** 星球类型 */
    @Excel(name = "星球类型")
    private Long starType;

    public void setStarId(Long starId) 
    {
        this.starId = starId;
    }

    public Long getStarId() 
    {
        return starId;
    }
    public void setStarName(String starName) 
    {
        this.starName = starName;
    }

    public String getStarName() 
    {
        return starName;
    }
    public void setGalaxyId(Long galaxyId) 
    {
        this.galaxyId = galaxyId;
    }

    public Long getGalaxyId() 
    {
        return galaxyId;
    }
    public void setStarType(Long starType) 
    {
        this.starType = starType;
    }

    public Long getStarType() 
    {
        return starType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("starId", getStarId())
            .append("starName", getStarName())
            .append("galaxyId", getGalaxyId())
            .append("starType", getStarType())
            .append("parentId", getParentId())
            .toString();
    }
}
